<template>
    <view class="page">
        <scroll-view class="wrap" scroll-y="true">
            <view class="inner">
                <view class="title">协议</view>
                <view>
                    <!-- <u-empty></u-empty> -->
                </view>
            </view>
            <u-button class="button" @click="ok">同意</u-button>
        </scroll-view>
    </view>
</template>

<script>
export default {
    data() {
        return {
            text: '暂无协议',
        }
    },
    methods:{
        ok(){
            this.$emit('ok');
        },
    },
}
</script>

<style lang="scss" scoped>
.page {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba($color: #000000, $alpha: 0.5);
    z-index: 748943649;
}
.wrap {
    width: 80%;
    margin: auto;
    height: 600upx;
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.inner {
    padding: 20upx;
    min-height: 80%;
}
.title {
    width: 100%;
    padding: 0 40upx;
    box-sizing: border-box;
    // left: 40upx;
    font-size: 26upx;
    display: flex;
    justify-content: space-between;
}
.button {
    width: 200upx;
    height: 60upx;
    border-radius: 8upx;
    background: #5fbe67;
    color: #fff;
    display: inline-block;
    font-size: 24upx;
    border: 0;
}
</style>